﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using StudentMgmt.Model;

namespace StudentMgmt.IDAL
{
    public interface IStudent
    {
        /// <summary>
        /// Method to get all students
        /// </summary>
        /// <returns>Interface to Model Collection Generic of students</returns>
        IList<StudentInfo> GetStudents();

        /// <summary>
        /// Get information on a specific student
        /// </summary>
        /// <param name="studentId">Unique identifier for a student</param>
        /// <returns>Business Entity representing a student</returns>
        StudentInfo GetStudent(string studentId);

        void InsertStudent(StudentInfo student);

        void AlterStudent(StudentInfo student);

        void AlterStudentClassId(string StuNo, string ClassId);
    }
}
